package com.hdoit.ares.logical.wechatorder.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;

import com.hdoit.ares.logical.wechatorder.dao.IWechatAresOrderDao;
import com.hdoit.ares.logical.wechatorder.model.WechatAresOrder;
import com.hdoit.ares.logical.wechatorder.service.IWechatAresOrderService;
import com.tennetcn.common.dao.base.impl.SuperService;

@Component
public class WechatAresOrderServiceImpl extends SuperService<WechatAresOrder> implements IWechatAresOrderService{

	private IWechatAresOrderDao wechatAresOrderDao;
	
	public IWechatAresOrderDao getWechatAresOrderDao() {
		return wechatAresOrderDao;
	}

	@Resource
	public void setWechatAresOrderDao(IWechatAresOrderDao wechatAresOrderDao) {
		this.wechatAresOrderDao = wechatAresOrderDao;
	}

	@Override
	public WechatAresOrder queryOrder(String openId, String name) {
		
		return wechatAresOrderDao.queryOrder(openId, name);
	}

}
